﻿namespace Annotations
{
    /// <summary>
    /// Marks a property as required (not null and in case of a string, not empty)
    /// </summary>
    public class RequiredAttribute : PropertyAttribute
    {
        /// <summary>
        /// The value of the property that represents the null value
        /// (for example, in case of an integer it might be the value of zero)
        /// </summary>
        public object NullValue { get; set; }
    }
}
